<div class="mainTop" align="center">
    <div class="mainTopContent">
        <div class="rss">
            <a href="/rss.xml" class="rssLink"> <img src="{$design}images/rss.png" alt=""/> </a>
        </div>
        <br style="border: 0;height: 0;margin: 0;padding: 0" clear="all"/>
        <a href="/page1.html" class="mainLogo"><img src="{$design}/images/Chief_Online_Word.png" alt=""></a>
        <div class="mainTopMenu">

            <ul class="mainTopMenuBar">
                <li>
                    <div class="mainTopMenuPointer">
                        {if $displayedHtml == "index.html"}
                            <img src="{$design}images/Nav_Bar_Arrow.png" alt=""/>
                        {/if}
                    </div>
                    {if $displayedHtml == "index.html"}
                        <img src="{$design}/images/Nav_Bar_Home.png" alt="">
                    {else}
                        <a href="/page1.html" class="mainTopMenuItem">
                            <img src="{$design}/images/Nav_Bar_Home.png" alt="">
                        </a>
                    {/if}
                </li>
                <li>
                    <div class="mainTopMenuPointer">
                        {if $displayedHtml == "gallery.html"}
                        <img src="{$design}images/Nav_Bar_Arrow.png" alt=""/>
                        {/if}
                    </div>
                    {if $displayedHtml == "gallery.html"}
                        <img src="{$design}/images/Nav_Bar_Gallery.png" alt="">
                    {else}
                        <a href="/gallery.html" class="mainTopMenuItem">
                            <img src="{$design}/images/Nav_Bar_Gallery.png" alt="">
                        </a>
                    {/if}
                </li>
                <li>
                    <div class="mainTopMenuPointer">
                        {if $displayedHtml == "about.html"}
                        <img src="{$design}images/Nav_Bar_Arrow.png" alt=""/>
                        {/if}
                    </div>
                    {if $displayedHtml == "about.html"}
                        <img src="{$design}/images/Nav_Bar_About.png" alt="">
                    {else}
                        <a href="/about.html" class="mainTopMenuItem">
                            <img src="{$design}/images/Nav_Bar_About.png" alt="">
                        </a>
                    {/if}
                </li>    
            </ul>
            <span style="clear: left"> </span>
        </div>
    </div>
</div>
<div class="mainDelim" align="center">
    
    <div class="mainDelimContent">
        
        <div class="searchBar">
            <form  method="POST" action="" style="margin: 0px" id="searchForm" onsubmit="generateFormAction()">
                <img src="{$design}/images/Search_Icon.png" class="searchBarIcon" alt="Мего-Поиск-Нужных-Вам-Слов-На-Нашем-Сайте"/>
                <input type="text" id="searchBarText" class="searchBarText" name="searchText" value="{$query}"/>
                <input type="submit" class="searchBarButton" name="searchButton" value=""/>
            </form>
        </div>
    </div>
</div>
